set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
 
find_package(OpenCV REQUIRED)
 
message(STATUS "OpenCV library status:")
message(STATUS "    version: ${OpenCV_VERSION}")
message(STATUS "    libraries: ${OpenCV_LIBS}")
message(STATUS "    include path: ${OpenCV_INCLUDE_DIRS}")
 
find_package(PCL 1.8 REQUIRED)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
 
add_executable(union_test union_test.cpp)
target_link_libraries(union_test )  #${OpenCV_LIBS} ${PCL_LIBRARIES}

add_executable(static_test static_test.cpp)
target_link_libraries(static_test )  #${OpenCV_LIBS} ${PCL_LIBRARIES}

add_executable(const_test const_test.cpp)
target_link_libraries(const_test )  #${OpenCV_LIBS} ${PCL_LIBRARIES}

add_executable(this_test this_test.cpp)
target_link_libraries(this_test )  #${OpenCV_LIBS} ${PCL_LIBRARIES}

add_executable(virtual_fun_test virtual_fun_test.cpp)
target_link_libraries(virtual_fun_test )  #${OpenCV_LIBS} ${PCL_LIBRARIES}

add_executable(template_test template_test.cpp)
target_link_libraries(template_test )  #${OpenCV_LIBS} ${PCL_LIBRARIES}

add_executable(operation_symbol_test operation_symbol_test.cpp)
target_link_libraries(operation_symbol_test )  #${OpenCV_LIBS} ${PCL_LIBRARIES}

add_executable(polymorphism_test polymorphism_test.cpp)
target_link_libraries(polymorphism_test )  #${OpenCV_LIBS} ${PCL_LIBRARIES}

add_executable(sp smart_pointer_test1.cpp)
target_link_libraries(sp )  #${OpenCV_LIBS} ${PCL_LIBRARIES}

